package com.zidian.teacher.api;

import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by GongCheng on 2016/10/17 0017.
 */

public interface TeacherApiService {
    @FormUrlEncoded
    @POST("shiro/loginTeacher")
    Observable<LoginResult> login(@Field("username") String username, @Field("password") String password);
}
